<script lang="ts">
import { defineComponent, renderSlot } from "vue";
import { useMessage, useLoadingBar, useNotification, useDialog } from "@/naive-ui";
export default defineComponent({
	name: "NConfig",
	setup() {
		window.$message = useMessage();
		window.$notification = useNotification();
		window.$load = useLoadingBar();
		window.$dialog = useDialog();
		return {};
	},
	render() {
		return renderSlot(this.$slots, "default");
	},
});
</script>
